package org.hcyspartnoc.luoxin.common.exception.searchtopic;

import org.hcyspartnoc.luoxin.common.exception.BaseException;

public class TopicException extends BaseException {
    public static final String REQUEST_FAILED = "请求发送失败";
    public static final String SERVER_ERROR = "服务端错误";
    public static final String TOPIC_NOT_FOUND = "题目不存在";

    public static final String TOPIC_EMPTY = "历史题目为空";

    public TopicException(String msg) {
        super(msg);
    }

    public TopicException(String msg, int code) {
        super(msg, code);
    }
}
